Muchat\Api\Frontend\Widget B

Total Complexity 80
Dependencies 2
Dependents 1
Total lines 497
Lines of code 279
Logical lines of code 184
Comment lines 133
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
is_path_match()
A
44 14 45
should_display()
A
50 11 29
hook_head()
A
51 11 24
generate_widget_config()
A
45 10 38
get_initial_messages()
S
51 7 24
is_within_schedule()
S
56 7 16
process_context()
S
50 5 28
get_user_data()
S
55 5 20
__construct()
S
58 4 15
generate_widget_script()
S
55 3 18
replace_chat_variables()
S
62 1 11
register_cache_clearing_hooks()
S
67 1 8
clear_widget_cache()
S
79 1 3